By ship
Rai Leh West and Ton Sai are only 10 minutes away while the less developed Had Yao Long Beach is 25 minutes away by long-tail. Boats leave constantly from the east end of the beach and charge a flat 80 baht/person during the day, 100 baht/person at night after 18:00 hrs. There is no pier so expect to get at least your feet wet, probably more. Long-tail boat from Aonang is available at all seasons but subject to the weather permits. In case of the monsoon season May - Oct, getting to Railay from Ao Nammao is recommended.
There are also public ferry services to Ko Phi Phi and Ko Lanta usually twice daily, for which any travel agent will be happy to sell you tickets at around 200 baht/person. During the monsoon season, the ferry runs once day.
Boats from Ko Lanta now arrive at the new jetty, from there take a taxi 350 baht, or local bus to Krabi 50 baht and then on to Ao Nang 40 baht.